home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ASME's Mechanical Engine…ing Toolkit 1997 December
/
ASME's Mechanical Engineering Toolkit 1997 December.iso
/
win_eng
/
atre27.exe
/
ATREE_27
/
LFWIN
/
XMALLOC.C
< prev
Wrap
C/C++ Source or Header
|
1992-08-01
|
280b
|
20 lines
#include <windows.h>
#include <stdio.h>
#include <stdlib.h>
#include <alloc.h>
char far *
xmalloc(n)
unsigned int n;
{
char far *p;
if ((p = farmalloc(n)) == NULL) {
/*
fprintf(stderr, "malloc failed\n");
*/
exit(0);
}
return(p);
}